function showConfirmationDialog() {
    return new Promise((resolve) => {
        Dialog.confirm({
            text: fetchLabel("label_core_training_management_530"),
            callback: (confirmed) => resolve(confirmed)
        });
    });
}
async function wbAssignmentSubmitSetpOne(id, no_of_upload, tkh_id, not_popup, usr_id, frm) {
    /*打开作业页面*/
    if (frm && (eval('frm.file_name1.value')) != '') {
        var shouldProceed = await showConfirmationDialog();
        if (shouldProceed){
            goStepOne(id, no_of_upload, tkh_id, not_popup, usr_id, frm);
        }
        return;
    }
    goStepOne(id, no_of_upload, tkh_id, not_popup, usr_id, frm);
}
